const router = require('express').Router();
// 定义home页路由
router.get('/news', (req,res) => {
  res.render('news')
})

router.post('/news', (req,res) => {
  res.send('news的post请求')
})

module.exports = router